import { push, redirectTo, switchTab } from "@/router/utils";

export const uni_router = {
    navigateTo: uni.navigateTo,
    redirectTo: uni.redirectTo,
    reLaunch: uni.reLaunch,
    switchTab: uni.switchTab
};

uni.navigateTo = push;
uni.redirectTo = redirectTo;
uni.switchTab = switchTab;
